Object: knowledgebase

Description

A knowledgebase needs one knowledgebase object to define various global properties:

Knowledgebase Properties

These are:

Property Name Description Default Value Required
id The name of this object. See Object Names for details. <none> yes
path The folder this object is located in. See Folders for details. / yes
description A text description (comment)--not used during reasoning. <none> no
goals The list of goals the reasoning engine will deduce. These are the then-side of your rules or tables.   yes
date_format The input format for user input of dates and string/date conversions which are represented internally as date(year, month, day). m/d/y yes
odbc Under Windows, the name of the ODBC data source (defined in your Control Panel) to be used for SQL queries.   no
charset The character set name to be passed in the HTTP headers to the webserver running this knowledgebase.   no
question_separator The HTML or text to be inserted after each question.

<P>

yes
menu_separator The HTML or text to be inserted after each item in a menu. <BR> yes
value_separator The HTML or text to be inserted after each goal value, which may be a text object. <P> yes
question_top The HTML for the top of the form that asks the user questions. It must contain all the elements in the default value.

<HTML>
<HEAD> </HEAD>
<BODY>
<FORM METHOD="POST" ACTION="/cgi-bin/kwcgibasic.exe%system(cgi_parameters)%">

yes
question_bottom THE HTML for the bottom of the form that asks the user questions. Note: It must contain a submit button with a name of "Submit". <INPUT TYPE="Submit" Value="Submit"> </INPUT>
<INPUT TYPE="Reset" VALUE="Reset"> </INPUT>
</FORM> </BODY> </HTML>
yes
output_top The HTML that is inserted before any non-question output.

<HTML>
<HEAD> </HEAD>
<BODY>

yes
output_continue The HTML is is inserted after any non-question output and before the output_bottom when the reasoning process has more work to do. <FORM METHOD="POST" ACTION="/cgi-bin/kwcgibasic.exe%system(cgi_parameters)%">
<INPUT NAME="Submit" TYPE="Submit" VALUE="Continue"> </INPUT>
</FORM>
 
output_bottom THE HTML appended after an non-question output. </BODY> </HTML> yes


Copyright ©1996-2002 Amzi! inc. All Rights Reserved. Amzi!, KnowledgeWright and WebLS are registered trademarks and Subscription Plus and Logic Server are trademarks of Amzi! inc.